#include<bits/stdc++.h>
using namespace std;
int fun(int *p1,int *p2)
{
	*p1=*p1+*p2;
	*p2=*p1-*p2;
	*p1=*p1-*p2;
	if(*p1>*p2)
	return *p1;
	else return *p2;
}
int main()
{
	int c,a,b;
	cin>>a>>b;
	c=fun(&a,&b);
	printf("%d %d %d",a,b,c);
    return 0;
}
